package question1;

public class MyThread extends  Thread {
    @Override
    public void run() {
        for (int i = 0; i <=20 ; i++) {
            String name = this.getName();
            System.out.println(name+":"+i);
        }
    }
}
